<?php
namespace App\Modules\Finance;

use App\Modules\AdapterApi;
use App\Services\Finance\ReportIndex;

class Report extends AdapterApi
{

    public function accountStatement()
    {
        $data = $this->postData;
        return ReportIndex::Report()->accountStatement($data);
    }

    // 分账复审列表
    public function accountsList()
    {
        return ReportIndex::Report()->accountsList();
    }


    //搜索音乐人，代理，指定人信息
    public function typeSearch()
    {
        $data = $this->postData;
        return ReportIndex::Report()->typeSearch($data);
    }
    // 拒绝分账申请
    public function refuseApply()
    {
        $data = $this->postData;
        return ReportIndex::Report()->refuseApply($data);
    }

    // 通过分账申请
    public function adoptApply()
    {
        $data = $this->postData;
        return ReportIndex::Report()->adoptApply($data);
    }

    // 获取音乐人分账明细
    public function examineBill()
    {
        $data = $this->postData;
        return ReportIndex::Report()->examineBill($data);
    }

    // 获取代理分账明细
    public function agentExamineBill()
    {
        $data = $this->postData;
        return ReportIndex::Report()->agentExamineBill($data);
    }

    // 获取指定分账明细
    public function appointExamineBill()
    {
        $data = $this->postData;
        return ReportIndex::Report()->appointExamineBill($data);
    }

    // 重新分账
    public function accountAgain()
    {
        $data = $this->postData;
        return ReportIndex::Report()->accountAgain($data);
    }
}